import http from './http';

export const login = (username, password) => {
  return http.post('/api/login', { username, password });
};

export const register = (data) => {
  return http.post('/api/registry', data);
}; 